package com.daedalus.ushtrimePrintimi.tipikeMeYje;/*
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * Date: 12-12-08
 * Time: 11.58.PD
 */

import java.util.Scanner;

public class Trekendesh {

    public static void main(String[] args){

        int n;
        int nrYje;
        int nrHapsira;

        System.out.print("Numri i Rreshtave: ");
        Scanner input = new Scanner(System.in);
        n=input.nextInt();

        nrYje=1;
        nrHapsira=n-1;

        for (int i=0; i<n; i++)
        {
            for (int j = 0; j<nrHapsira; j++){
                System.out.print(" ");
            }
            for (int j=0; j<nrYje; j++){
                System.out.print("*");
            }
            System.out.println();
            nrHapsira--;
            nrYje+=2;
        }


    }
}
